Use WTF_CPU_UNKNOWN when building for riscv64
authorAlberto Garcia <berto@igalia.com>
Tue, 16 Dec 2025 14:33:34 +0000 (15:33 +0100)
committerAlberto Garcia <berto@igalia.com>
Tue, 16 Dec 2025 14:33:34 +0000 (15:33 +0100)
commitad7f2ca8c33918dede53b2002b180d595df3d4f9
tree53d0c4f5a543a8a2bea11031ef30eb4eddbdd1db
parent93a78a0e72c519bd9b5f49db55c6ef96e6bb4781
Use WTF_CPU_UNKNOWN when building for riscv64

Bug: https://bugs.webkit.org/show_bug.cgi?id=271371
Forwarded: no

WebKitGTK doesn't build on riscv64 even with the JIT disabled.
Treating the CPU as unknown is perhaps a bit severe, but it allows us
to get the build done until someone steps up to maintain this
properly.
===================================================================

Gbp-Pq: Name fix-ftbfs-riscv64.patch
Source/WTF/wtf/PlatformCPU.h
Source/cmake/WebKitCommon.cmake